package com.lijiajia.cloud.authserver.service.impl.mongodb;

import com.lijiajia.cloud.authserver.service.AuthorityService;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Service;

/**
 * 权限服务 mongo实现
 *
 * @author lijiajia
 * @since 2019-4-28
 */
@Service
public class MongoAuthorityService implements AuthorityService {
    private final MongoTemplate mongoTemplate;

    public MongoAuthorityService(MongoTemplate mongoTemplate) {
        this.mongoTemplate = mongoTemplate;
    }
}
